

import lejos.nxt.*;

public class BasicMotor3 {

	public static void main (String[] args) throws Exception {
		
		while (Button.waitForPress() != Button.ID_ESCAPE) {
			
			Motor.A.rotateTo(Motor.A.getTachoCount() + 45);
			
		}
	}
}
